package dao;

import entity.Arauditor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArauditorDao {
    //添加销售信息
    public void addArauditor(Arauditor arauditor);
    //未审核根据条件查询带分页查询
    public List<Arauditor> showArauditor(@Param("seat") String seat,@Param("userName") String userName,@Param("lasttime") String lasttime,@Param("times") String times,@Param("offset") int offset,@Param("limit") int limit);
    //未审核根据条件查询,查询总共条数
    public int total(@Param("seat") String seat,@Param("userName") String userName,@Param("lasttime") String lasttime,@Param("times") String times);
    //根据单号进行修改审核状态
    public void upStateSeat(@Param("seat") String seat,@Param("verifier") String verifier);
    //根据单号查询该信息
    public Arauditor showSeatArauditor(String seat);
    //已审核根据条件查询带分页查询
    public List<Arauditor> showstatetwo(@Param("seat") String seat,@Param("userName") String userName,@Param("lasttime") String lasttime,@Param("times") String times,@Param("offset") int offset,@Param("limit") int limit);
    //已审核根据条件查询,查询总共条数
    public int twototal(@Param("seat") String seat,@Param("userName") String userName,@Param("lasttime") String lasttime,@Param("times") String times);
}
